//
//  MyBillViewController.m
//  dangdang
//
//  Created by air on 16/3/7.
//  Copyright © 2016年 luweijie. All rights reserved.
//

#import "MyBillViewController.h"
#import "PersonalViewController.h"

@interface MyBillViewController ()

@end

@implementation MyBillViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"hk_back_white@2x.png"] style:UIBarButtonItemStylePlain target:self action:@selector(backView)];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)backView{
    PersonalViewController * personboardVC = [[UIStoryboard storyboardWithName:@"PersonalViewController" bundle:nil] instantiateViewControllerWithIdentifier:@"PersonalViewController"];
//    UINavigationController * navi = [[UINavigationController alloc] initWithRootViewController:personboardVC];
//    [self presentViewController:navi animated:YES completion:nil];
    [self.navigationController pushViewController:personboardVC animated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
